 <div class="page-header">
    <h1>
        {{group.name}}
    </h1>
</div><!-- /.page-header -->
<div>
    <button class="btn btn-info btn-xs" ng-click="addInterface(group.id,'','','0')">新增接口</button>
</div>
<div class="row">
    <div class="col-xs-2">
        <div  style="background:whitesmoke;border:1px solid lightgray;border-radius:5px;">
            <!--<span ng-if="true">...loading...</span>-->
            <abn-tree tree-data="treedata" tree-control="my_tree" expand-level="1"  initial-selection="全部"></abn-tree>
        </div>
        <!--<abn-tree tree-data="treedata" tree-control="my_tree" expand-level="3" initial-selection="全部"></abn-tree>-->
    </div>

    <div class="col-xs-10">
        <!-- PAGE CONTENT BEGINS -->

        <div class="table-responsive">

            <table class="table table-bordered">
                 <tr>
			        <th>ID</th>
			        <th>组id</th>
			        <th>接口名称</th>
			        <th>修改者</th>
			        <th>修改时间</th>
			        <th>操作</th>
			    </tr>
                <tr ng-repeat="item in lists">
                
                <td>{{item.id}}</td>
	            <td>{{item.groupid}}</td>
	            <td>{{item.interfacename}}</td>
	            <td>{{item.updateBy}}</td>
	            <td>{{item.updateTime | date:'yyyy-MM-dd HH:mm:ss' }}</td>
	            <td>
	                <button type="button" class="btn btn-danger btn-xs"    ng-click="deleteInter(item.id,group.id)"> 删除</button>
	                 <button type="button" class="btn btn-success btn-xs"  ng-click="addInterface(group.id,item.groupid,item.id,'1')">修改接口</button>
	                <button type="button" class="btn btn-default btn-xs"  ng-click="redirectNotify(item.id)">上下线通知</button>
	           	    <button type="button" class="btn btn-default btn-xs"  ng-click="redirectThreshold(item.id,item.interfacename)">设置阈值</button>
	            </td>
                    
		           
		      		 
                </tr>
            </table>
        </div><!-- /.table-responsive -->
        <pagination ng-change="pageChanged(group.id)" max-size="5" items-per-page="itempersize" direction-links="false" boundary-links="true" total-items="totalItems" ng-model="currentPage" first-text="首页" last-text="末页" previous-text="上一页" next-text="下一页"></pagination>
    </div><!-- /.col -->
</div><!-- /.row -->


